package org.budo.support.mvcs;

import org.budo.support.lang.util.ListUtil;
import org.springframework.boot.web.servlet.FilterRegistrationBean;

/**
 * @author lmw
 */
public class MvcsFilterRegistrationBean  extends FilterRegistrationBean {
    public MvcsFilterRegistrationBean() {
        this.setName("MvcsFilter");
        this.setFilter(new MvcsFilter());
        this.setUrlPatterns(ListUtil.toList("/*"));
    }
}